//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet.Formats.Biff
{
    internal struct RangeReferenceAddress
    {
        private readonly CellReferenceAddress _first;
        private readonly CellReferenceAddress _last;

        public RangeReferenceAddress(CellReferenceAddress first, CellReferenceAddress last)
        {
            _first = first;
            _last = last;
        }

        public CellReferenceAddress First
        {
            get { return _first; }
        }

        public CellReferenceAddress Last
        {
            get { return _last; }
        }
        public override string ToString()
        {
            return string.Format("{0}:{1}", First, Last);
        }
    }
}